﻿using AutoMapper;
using BasicData.API.Read.Dtos;
using BasicData.Domain;

namespace BasicData.API.Read
{
    /// <summary>
    /// 映射轮廓
    /// </summary>
    public class MyMappperFiter:Profile
    {
        /// <summary>
        /// 构造方法
        /// </summary>
        public MyMappperFiter()
        {
            CreateMap<School, ShowDTO>();
            CreateMap<Address, AddressDTO>();
            CreateMap<Room, RoomDTO>();
        }
    }
}
